package com.lkm.app_ui.view;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;


public class GridViewNoScroll extends GridView {

	public GridViewNoScroll(Context context, AttributeSet attrs) {
		super(context, attrs);
//		setSelector(R.drawable.sl_common_selector);
	}

	@Override
	protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		int expandspec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,
				MeasureSpec.AT_MOST);
		super.onMeasure(widthMeasureSpec, expandspec);
	}

}
